package com.example.trb.util.result;

public enum ReviewFormCode implements ReturnCode{
    NOW_YEAR_HAS_FORM(SysReturnCode.BAD_REQUEST.code, "当前年度的同级别中已存在一个评审表");

    final int code;
    final String message;

    ReviewFormCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
